package club.haomoon.front.data.article;

import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

@Data
@Schema(title = "文章收藏Data")
public class ArticleCollectData implements Serializable {

    private static final long serialVersionUID = 1L;

   @Schema(title  = "收藏主键")
    private Integer id;

   @Schema(title  = "文章ID")
    private Integer articleId;

   @Schema(title  = "文章标题")
    private String title;

   @Schema(title  = "文章封面")
    private String image;

   @Schema(title  = "文章简介")
    private String desc;

   @Schema(title  = "是否显示:1-是.0-否")
    private Integer isShow;

   @Schema(title  = "虚拟浏览量")
    private Integer clickVirtual;

   @Schema(title  = "实际浏览量")
    private Integer clickActual;

   @Schema(title  = "创建时间")
    private Object createTime;

   @Schema(title  = "收集时间")
    private Object collectTime;

//   @Schema(title  = "创建时间")
//    @JsonProperty("create_time")
//    private String createTimeStr;
//
//   @Schema(title  = "收集时间")
//    @JsonProperty("collect_time")
//    private String collectTimeStr;
}
